package com.ssm.unity;
import java.util.HashMap;

/**
 * Created by xieyingze on 2017/12/30.
 */
public class ResponseResult {

    /**
     * 响应状态码
     * 成功:0000
     * 失败:0004
     * 异点登录: 0002
     */
    private String statusCode;
    /**
     * invoking
     * success
     * 或
     * failure
     */
    private String invoking;
    /**
     * 响应信息
     * 一般用户失败的提示信息
     */
    private String message;
    /**
     * 版本
     * 服务器上APP版本
     */
    private String version;
    /**
     * 结果集合
     * 成功的结果集合在里面
     */
    private HashMap disposeResult;





    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getInvoking() {
        return invoking;
    }

    public void setInvoking(String invoking) {
        this.invoking = invoking;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public HashMap getDisposeResult() {
        return disposeResult;
    }

    public void setDisposeResult(HashMap disposeResult) {
        this.disposeResult = disposeResult;
    }

    public void setCurrentVersion() {
        this.version = "v1.1";
    }
}
